package com.imooc.user.enums;

import lombok.Getter;

/**
 * @author steve
 * @date 2020/6/25 4:02 下午
 */
@Getter
public enum RoleEnum {
    /**
     * 买家
     */
    BUYER(1, "买家"),

    /**
     * 卖家
     */
    SELLER(2,"卖家"),
    ;

    private Integer code;

    private String message;

    RoleEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
